package cn.iocoder.yudao.module.nginxui.controller.admin.globalblock.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - Nginx全局块配置分页 Request VO")
@Data
public class GlobalBlockPageReqVO extends PageParam {

    @Schema(description = "关联主配置ID", example = "25730")
    private Long configId;

    @Schema(description = "配置指令")
    private String directive;

    @Schema(description = "配置值")
    private String value;

    @Schema(description = "配置描述", example = "随便")
    private String description;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "状态(0-禁用,1-启用)", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}